import com.sun.deploy.util.StringUtils;

public class Tech {

    public Tech() {
    }

    public Tech(Long id, String name, String rule, boolean needCutting, boolean saw, Object context) {
        this.id = id ;
        this.name = name ;
        this.rule = rule ;
        this.needCutting = needCutting;
        this.saw = saw;
        this.context = context ;
    }

    private Long id ;

    private String name ;

    private String rule ;

    private boolean needCutting ;

    private boolean saw ;

    private Object context ;

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getRule() {
        return rule;
    }

    public boolean isNeedCutting() {
        return needCutting;
    }

    public Object getContext() {
        return context;
    }

    public boolean isSaw() {
        return saw;
    }

    @Override
    public String toString() {
        return "Tech{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", rule='" + rule + '\'' +
                ", needCutting=" + needCutting +
                ", saw=" + saw +
                ", context=" + context +
                '}';
    }
}
